package cn.mothin.frame.core.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target(value = { ElementType.TYPE })
public @interface Entity {
	/**
	 * 自定义表名称
	 * @return
	 */
	public String tableName();
	public String[] pkNames() default {"id"};
}
